package com.fc.remoting.core;

import java.util.concurrent.ThreadFactory;
import java.util.concurrent.atomic.AtomicLong;

public class RemotingThreadFactory implements ThreadFactory {

	private static AtomicLong tId = new AtomicLong(1);

	@Override
	public Thread newThread(Runnable r) {
		return new Thread("RThread_" + tId.getAndIncrement());
	}
}
